projects
/
babl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c036eba
)
Add dylib extension for macOS build
author
Alex Samorukov
<samm@os2.kiev.ua>
Thu, 31 Oct 2019 07:13:07 +0000
(08:13 +0100)
committer
Øyvind Kolås
<pippin@gimp.org>
Thu, 31 Oct 2019 08:36:33 +0000
(09:36 +0100)
meson.build
patch
|
blob
|
history
diff --git
a/meson.build
b/meson.build
index 0befaefc6be2955a29eaabedff6a444e12504eed..8c7d5222f2fd17a0b2babb3cba0f0924bdcd3b78 100644
(file)
--- a/
meson.build
+++ b/
meson.build
@@
-118,7
+118,13
@@
platform_android = host_os.contains('android')
path_sep = ( platform_win32 ? ';' : ':' )
dirs_sep = ( platform_win32 ? '\\\\' : '/' )
-lib_ext = ( platform_win32 ? '.dll' : '.so' )
+if platform_win32
+ lib_ext = '.dll'
+elif platform_osx
+ lib_ext = '.dylib'
+else
+ lib_ext = '.so'
+endif
conf.set('BABL_PATH_SEPARATOR', '\'' + path_sep + '\'', description:
'separator between paths in BABL_PATH')